const useLoading = () => {
  const loading = ref(false);

  const setLoading = (bool) => {
    loading.value = bool;
  };

  return {
    loading,
    setLoading,
  };
};

export default useLoading;
